﻿using InventoryIssue.Domain;
using InventoryIssue.ErrorCode;
using MediatR;

namespace InventoryIssue.API.Read.Application.Command.Stocktaking
{
    public class GetStocktakingCommand : IRequest<APIPaging<StocktakingModel>>
    {
        /// <summary>
        /// 当前第几页
        /// </summary>
        public int? PageIndex { get; set; } = 1;
        /// <summary>
        /// 页容量
        /// </summary>
        public int? PageSize { get; set; } = 15;
        /// <summary>
        /// 盘点单号
        /// </summary>
        public string? StocktakingId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? State { get; set; }
        /// <summary>
        /// 起始时间
        /// </summary>
        public DateTime? OrderCreatorTime {  get; set; }
    }
}
